package generator;

import freemarker.template.TemplateException;
import generator.config.ComponentConfig;
import generator.config.TableMapConfig;
import generator.config.TemplateConfig;
import generator.handle.ProcessHandle;

import java.sql.SQLException;

/**
 * <p>
 *
 * </p>
 *
 * @author angel.bin@aliyun.com
 * @since 2020-10-05 14:01
 */
public class ApplicationMain {

    public static void main(String[] args) throws SQLException, TemplateException {
        ProcessHandle processHandle = new ProcessHandle();
        processHandle.process(ComponentConfig.getInstance(), TemplateConfig.getInstance(), TableMapConfig.getInstance());
    }
}
